package com.qf.bookshop2.mapper;

import com.qf.bookshop2.model.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RoleMapper {
    /**
     * 根据用户名查询用户角色信息
     * @param username
     * @return
     */
    List<Role> selectRolesByUserName(String username);
}
